import request from "@/utils/request.js";
const PREFIX = "/history"

export default {
    getUserHistory(dto){
        return request({
            url:`${PREFIX}/list`,
            method:'post',
            data:dto
        })
    },
    recordHistory(dto){
        return request({
            url:`${PREFIX}/record`,
            method:'post',
            data:dto
        })
    }
}